/**
* systemLogController Module
*
* systemLogController
*/
angular.module('app.con.systemLog', []).controller('SystemLogController', function($scope, SystemLogService) {
	// ngView部分高度自适应
	var window_height = window.innerHeight - document.getElementsByTagName('nav')[0].offsetHeight - document.getElementsByTagName('footer')[0].offsetHeight;
	document.getElementById('ngView').style.height = window_height + 'px';

	SystemLogService.list().success(function(res) {
		$scope.loginMessage     = res.loginMessage;
		$scope.operationMessage = res.operationMessage;
	});
});